package com.cd2cd.domain.gen;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProTableCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer mysqlOffset;

    protected Integer mysqlLength;

    protected String isCURD;

    public ProTableCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlOffset(Integer mysqlOffset) {
        this.mysqlOffset=mysqlOffset;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlOffset() {
        return mysqlOffset;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlLength(Integer mysqlLength) {
        this.mysqlLength=mysqlLength;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlLength() {
        return mysqlLength;
    }

    public void setIsCURD(String isCURD) {
        this.isCURD=isCURD;
    }

    public String getIsCURD() {
        return isCURD;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDatabaseIdIsNull() {
            addCriterion("database_id is null");
            return (Criteria) this;
        }

        public Criteria andDatabaseIdIsNotNull() {
            addCriterion("database_id is not null");
            return (Criteria) this;
        }

        public Criteria andDatabaseIdEqualTo(Long value) {
            addCriterion("database_id =", value, "databaseId");
            return (Criteria) this;
        }

        public Criteria andDatabaseIdNotEqualTo(Long value) {
            addCriterion("database_id <>", value, "databaseId");
            return (Criteria) this;
        }

        public Criteria andDatabaseIdGreaterThan(Long value) {
            addCriterion("database_id >", value, "databaseId");
            return (Criteria) this;
        }

        public Criteria andDatabaseIdGreaterThanOrEqualTo(Long value) {
            addCriterion("database_id >=", value, "databaseId");
            return (Criteria) this;
        }

        public Criteria andDatabaseIdLessThan(Long value) {
            addCriterion("database_id <", value, "databaseId");
            return (Criteria) this;
        }

        public Criteria andDatabaseIdLessThanOrEqualTo(Long value) {
            addCriterion("database_id <=", value, "databaseId");
            return (Criteria) this;
        }

        public Criteria andDatabaseIdIn(List<Long> values) {
            addCriterion("database_id in", values, "databaseId");
            return (Criteria) this;
        }

        public Criteria andDatabaseIdNotIn(List<Long> values) {
            addCriterion("database_id not in", values, "databaseId");
            return (Criteria) this;
        }

        public Criteria andDatabaseIdBetween(Long value1, Long value2) {
            addCriterion("database_id between", value1, value2, "databaseId");
            return (Criteria) this;
        }

        public Criteria andDatabaseIdNotBetween(Long value1, Long value2) {
            addCriterion("database_id not between", value1, value2, "databaseId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andCommentIsNull() {
            addCriterion("comment is null");
            return (Criteria) this;
        }

        public Criteria andCommentIsNotNull() {
            addCriterion("comment is not null");
            return (Criteria) this;
        }

        public Criteria andCommentEqualTo(String value) {
            addCriterion("comment =", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotEqualTo(String value) {
            addCriterion("comment <>", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThan(String value) {
            addCriterion("comment >", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThanOrEqualTo(String value) {
            addCriterion("comment >=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThan(String value) {
            addCriterion("comment <", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThanOrEqualTo(String value) {
            addCriterion("comment <=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLike(String value) {
            addCriterion("comment like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotLike(String value) {
            addCriterion("comment not like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentIn(List<String> values) {
            addCriterion("comment in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotIn(List<String> values) {
            addCriterion("comment not in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentBetween(String value1, String value2) {
            addCriterion("comment between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotBetween(String value1, String value2) {
            addCriterion("comment not between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andEmgomeTypeIsNull() {
            addCriterion("emgome_type is null");
            return (Criteria) this;
        }

        public Criteria andEmgomeTypeIsNotNull() {
            addCriterion("emgome_type is not null");
            return (Criteria) this;
        }

        public Criteria andEmgomeTypeEqualTo(String value) {
            addCriterion("emgome_type =", value, "emgomeType");
            return (Criteria) this;
        }

        public Criteria andEmgomeTypeNotEqualTo(String value) {
            addCriterion("emgome_type <>", value, "emgomeType");
            return (Criteria) this;
        }

        public Criteria andEmgomeTypeGreaterThan(String value) {
            addCriterion("emgome_type >", value, "emgomeType");
            return (Criteria) this;
        }

        public Criteria andEmgomeTypeGreaterThanOrEqualTo(String value) {
            addCriterion("emgome_type >=", value, "emgomeType");
            return (Criteria) this;
        }

        public Criteria andEmgomeTypeLessThan(String value) {
            addCriterion("emgome_type <", value, "emgomeType");
            return (Criteria) this;
        }

        public Criteria andEmgomeTypeLessThanOrEqualTo(String value) {
            addCriterion("emgome_type <=", value, "emgomeType");
            return (Criteria) this;
        }

        public Criteria andEmgomeTypeLike(String value) {
            addCriterion("emgome_type like", value, "emgomeType");
            return (Criteria) this;
        }

        public Criteria andEmgomeTypeNotLike(String value) {
            addCriterion("emgome_type not like", value, "emgomeType");
            return (Criteria) this;
        }

        public Criteria andEmgomeTypeIn(List<String> values) {
            addCriterion("emgome_type in", values, "emgomeType");
            return (Criteria) this;
        }

        public Criteria andEmgomeTypeNotIn(List<String> values) {
            addCriterion("emgome_type not in", values, "emgomeType");
            return (Criteria) this;
        }

        public Criteria andEmgomeTypeBetween(String value1, String value2) {
            addCriterion("emgome_type between", value1, value2, "emgomeType");
            return (Criteria) this;
        }

        public Criteria andEmgomeTypeNotBetween(String value1, String value2) {
            addCriterion("emgome_type not between", value1, value2, "emgomeType");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andCurdIsNull() {
            addCriterion("curd is null");
            return (Criteria) this;
        }

        public Criteria andCurdIsNotNull() {
            addCriterion("curd is not null");
            return (Criteria) this;
        }

        public Criteria andCurdEqualTo(String value) {
            addCriterion("curd =", value, "curd");
            return (Criteria) this;
        }

        public Criteria andCurdNotEqualTo(String value) {
            addCriterion("curd <>", value, "curd");
            return (Criteria) this;
        }

        public Criteria andCurdGreaterThan(String value) {
            addCriterion("curd >", value, "curd");
            return (Criteria) this;
        }

        public Criteria andCurdGreaterThanOrEqualTo(String value) {
            addCriterion("curd >=", value, "curd");
            return (Criteria) this;
        }

        public Criteria andCurdLessThan(String value) {
            addCriterion("curd <", value, "curd");
            return (Criteria) this;
        }

        public Criteria andCurdLessThanOrEqualTo(String value) {
            addCriterion("curd <=", value, "curd");
            return (Criteria) this;
        }

        public Criteria andCurdLike(String value) {
            addCriterion("curd like", value, "curd");
            return (Criteria) this;
        }

        public Criteria andCurdNotLike(String value) {
            addCriterion("curd not like", value, "curd");
            return (Criteria) this;
        }

        public Criteria andCurdIn(List<String> values) {
            addCriterion("curd in", values, "curd");
            return (Criteria) this;
        }

        public Criteria andCurdNotIn(List<String> values) {
            addCriterion("curd not in", values, "curd");
            return (Criteria) this;
        }

        public Criteria andCurdBetween(String value1, String value2) {
            addCriterion("curd between", value1, value2, "curd");
            return (Criteria) this;
        }

        public Criteria andCurdNotBetween(String value1, String value2) {
            addCriterion("curd not between", value1, value2, "curd");
            return (Criteria) this;
        }

        public Criteria andGenTableIsNull() {
            addCriterion("gen_table is null");
            return (Criteria) this;
        }

        public Criteria andGenTableIsNotNull() {
            addCriterion("gen_table is not null");
            return (Criteria) this;
        }

        public Criteria andGenTableEqualTo(String value) {
            addCriterion("gen_table =", value, "genTable");
            return (Criteria) this;
        }

        public Criteria andGenTableNotEqualTo(String value) {
            addCriterion("gen_table <>", value, "genTable");
            return (Criteria) this;
        }

        public Criteria andGenTableGreaterThan(String value) {
            addCriterion("gen_table >", value, "genTable");
            return (Criteria) this;
        }

        public Criteria andGenTableGreaterThanOrEqualTo(String value) {
            addCriterion("gen_table >=", value, "genTable");
            return (Criteria) this;
        }

        public Criteria andGenTableLessThan(String value) {
            addCriterion("gen_table <", value, "genTable");
            return (Criteria) this;
        }

        public Criteria andGenTableLessThanOrEqualTo(String value) {
            addCriterion("gen_table <=", value, "genTable");
            return (Criteria) this;
        }

        public Criteria andGenTableLike(String value) {
            addCriterion("gen_table like", value, "genTable");
            return (Criteria) this;
        }

        public Criteria andGenTableNotLike(String value) {
            addCriterion("gen_table not like", value, "genTable");
            return (Criteria) this;
        }

        public Criteria andGenTableIn(List<String> values) {
            addCriterion("gen_table in", values, "genTable");
            return (Criteria) this;
        }

        public Criteria andGenTableNotIn(List<String> values) {
            addCriterion("gen_table not in", values, "genTable");
            return (Criteria) this;
        }

        public Criteria andGenTableBetween(String value1, String value2) {
            addCriterion("gen_table between", value1, value2, "genTable");
            return (Criteria) this;
        }

        public Criteria andGenTableNotBetween(String value1, String value2) {
            addCriterion("gen_table not between", value1, value2, "genTable");
            return (Criteria) this;
        }

        public Criteria andTableNameIsNull() {
            addCriterion("table_name is null");
            return (Criteria) this;
        }

        public Criteria andTableNameIsNotNull() {
            addCriterion("table_name is not null");
            return (Criteria) this;
        }

        public Criteria andTableNameEqualTo(String value) {
            addCriterion("table_name =", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotEqualTo(String value) {
            addCriterion("table_name <>", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameGreaterThan(String value) {
            addCriterion("table_name >", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameGreaterThanOrEqualTo(String value) {
            addCriterion("table_name >=", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameLessThan(String value) {
            addCriterion("table_name <", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameLessThanOrEqualTo(String value) {
            addCriterion("table_name <=", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameLike(String value) {
            addCriterion("table_name like", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotLike(String value) {
            addCriterion("table_name not like", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameIn(List<String> values) {
            addCriterion("table_name in", values, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotIn(List<String> values) {
            addCriterion("table_name not in", values, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameBetween(String value1, String value2) {
            addCriterion("table_name between", value1, value2, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotBetween(String value1, String value2) {
            addCriterion("table_name not between", value1, value2, "tableName");
            return (Criteria) this;
        }

        public Criteria andRoutePathIsNull() {
            addCriterion("route_path is null");
            return (Criteria) this;
        }

        public Criteria andRoutePathIsNotNull() {
            addCriterion("route_path is not null");
            return (Criteria) this;
        }

        public Criteria andRoutePathEqualTo(String value) {
            addCriterion("route_path =", value, "routePath");
            return (Criteria) this;
        }

        public Criteria andRoutePathNotEqualTo(String value) {
            addCriterion("route_path <>", value, "routePath");
            return (Criteria) this;
        }

        public Criteria andRoutePathGreaterThan(String value) {
            addCriterion("route_path >", value, "routePath");
            return (Criteria) this;
        }

        public Criteria andRoutePathGreaterThanOrEqualTo(String value) {
            addCriterion("route_path >=", value, "routePath");
            return (Criteria) this;
        }

        public Criteria andRoutePathLessThan(String value) {
            addCriterion("route_path <", value, "routePath");
            return (Criteria) this;
        }

        public Criteria andRoutePathLessThanOrEqualTo(String value) {
            addCriterion("route_path <=", value, "routePath");
            return (Criteria) this;
        }

        public Criteria andRoutePathLike(String value) {
            addCriterion("route_path like", value, "routePath");
            return (Criteria) this;
        }

        public Criteria andRoutePathNotLike(String value) {
            addCriterion("route_path not like", value, "routePath");
            return (Criteria) this;
        }

        public Criteria andRoutePathIn(List<String> values) {
            addCriterion("route_path in", values, "routePath");
            return (Criteria) this;
        }

        public Criteria andRoutePathNotIn(List<String> values) {
            addCriterion("route_path not in", values, "routePath");
            return (Criteria) this;
        }

        public Criteria andRoutePathBetween(String value1, String value2) {
            addCriterion("route_path between", value1, value2, "routePath");
            return (Criteria) this;
        }

        public Criteria andRoutePathNotBetween(String value1, String value2) {
            addCriterion("route_path not between", value1, value2, "routePath");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}